package com.ywgt.service;

import com.github.pagehelper.Page;
import com.ywgt.pojo.Ad;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 广告表 服务类
 * </p>
 *
 * @author yiping
 * @since 2021-03-13
 */
public interface AdService extends IService<Ad> {

    Page<Ad> getAds(String name, String content, int page, int limit, String sort, String order);

    List<Ad> getIndex();
}
